package ch.bfh.abcm.rems;

import ch.bfh.abcm.rems.sensors.tinkerforge.TFConfig;
import ch.bfh.abcm.rems.sensors.tinkerforge.TFSensorController;

public class SensorControllerFactory {

    private static TFSensorController tfSensorController;
    
    public static TFSensorController getTFSensorController(TFConfig config){
        if (tfSensorController==null) {
            tfSensorController = new TFSensorController(config);
        }
        return tfSensorController;
    }
}
